Bastien Nocera [Wed, 2 Oct 2013 13:06:36 +0000 (15:06 +0200)]
iconhelper: Use g_clear_* helpers
https://bugzilla.gnome.org/show_bug.cgi?id=709264
Bastien Nocera [Wed, 2 Oct 2013 12:30:14 +0000 (14:30 +0200)]
icon-theme: Fix 2 memory leaks in GtkIconInfo
https://bugzilla.gnome.org/show_bug.cgi?id=709264
Bastien Nocera [Wed, 2 Oct 2013 12:28:00 +0000 (14:28 +0200)]
icon-theme: Use g_clear_* helpers in finalize
https://bugzilla.gnome.org/show_bug.cgi?id=709264
William Jon McCann [Mon, 30 Sep 2013 22:57:58 +0000 (18:57 -0400)]
notebook: Add a style property for whether to draw a tab gap
Add a has-tab-gap style property to GtkNotebook so that we can
disable drawing the gap between tabs and the page in the Adwaita
theme without breaking existing themes.
https://bugzilla.gnome.org/show_bug.cgi?id=707920
William Jon McCann [Wed, 7 Aug 2013 11:01:34 +0000 (13:01 +0200)]
notebook: Fix rounding error in vertical alignment of arrow
https://bugzilla.gnome.org/show_bug.cgi?id=707920
William Jon McCann [Tue, 6 Aug 2013 08:35:38 +0000 (10:35 +0200)]
notebook: Make notebook scroll arrows honor initial gap setting
So that they can be styled so they are not right on the edge.
https://bugzilla.gnome.org/show_bug.cgi?id=707920
William Jon McCann [Mon, 5 Aug 2013 14:37:39 +0000 (16:37 +0200)]
notebook: Improve the style of the default arrows
https://bugzilla.gnome.org/show_bug.cgi?id=707920
William Jon McCann [Mon, 5 Aug 2013 10:32:44 +0000 (12:32 +0200)]
notebook: Use initial-gap on both edges of the tab header
https://bugzilla.gnome.org/show_bug.cgi?id=707920
William Jon McCann [Mon, 5 Aug 2013 14:07:40 +0000 (16:07 +0200)]
demo: Show popup menu on tabs
https://bugzilla.gnome.org/show_bug.cgi?id=707920
Alexander Larsson [Wed, 2 Oct 2013 14:21:10 +0000 (16:21 +0200)]
GtkTextView: Fix horizontal scrolling
We didn't properly invalidate when scrolling horizontally.
https://bugzilla.gnome.org/show_bug.cgi?id=708019
Alexander Larsson [Wed, 2 Oct 2013 13:14:56 +0000 (15:14 +0200)]
GtkTextView: Fix regression in GtkSourceView drawing
GtkSourceView draws before chaining upo to GtkTextView and assumes
that this will be visible, but the pixelcache will just overdraw
that with background.
So, we stop drawing the background to the pixel cache and instead
make it an CAIRO_CONTENT_COLOR_ALPHA surface to make the previously
drawn content see through.
This is slower, but more backwards compatible.
https://bugzilla.gnome.org/show_bug.cgi?id=708423
Rūdolfs Mazurs [Wed, 2 Oct 2013 08:49:19 +0000 (11:49 +0300)]
Updated Latvian translatio
Rūdolfs Mazurs [Wed, 2 Oct 2013 08:48:03 +0000 (11:48 +0300)]
Updated Latvian translatio
Kenneth Nielsen [Tue, 1 Oct 2013 17:10:54 +0000 (19:10 +0200)]
Updated Danish translation
Ryan Lortie [Tue, 1 Oct 2013 13:36:23 +0000 (09:36 -0400)]
action-namespace example: use non-deprecated function
g_simple_action_group_add_entries() is deprecated since we added the GActionMap
interface, so use its equivalent function instead.
Matthias Clasen [Tue, 1 Oct 2013 00:53:19 +0000 (20:53 -0400)]
Improve gtk_container_add docs
Mention that some containers add intermediate children automatically.
Matthias Clasen [Mon, 30 Sep 2013 23:26:07 +0000 (19:26 -0400)]
Make it possible to hide custom titlebars
Previously, we were showing and hiding the custom titlebar
widget in response to state changes such as maximization.
Instead, use gtk_widget_set_child_visible() and leave
show/hide to applications. This makes it possible to set
a custom titlebar and hide it, for a titlebar-less appearance.
https://bugzilla.gnome.org/show_bug.cgi?id=707132
William Jon McCann [Mon, 30 Sep 2013 22:23:22 +0000 (18:23 -0400)]
Fix typo in gtk-win32-base.css
Cosimo Cecchi [Sun, 29 Sep 2013 22:38:54 +0000 (15:38 -0700)]
icontheme: use g_file_load_contents() for symbolic icons
When loading a symbolic icon, g_file_get_contents() is currently used
with the icon pathname, to load its SVG data. This won't work when the
icon is not a local file, for instance when a symbolic icon is loaded
from a GFileIcon with a GResource path.
Fortunately GtkIconInfo already holds a GFile, so we can just use
g_file_load_contents() to load the data instead.
https://bugzilla.gnome.org/show_bug.cgi?id=709056
Tristan Van Berkom [Mon, 19 Aug 2013 18:03:45 +0000 (20:03 +0200)]
gtk-doc fixup for gtk_widget_class_bind_template_child_full()
Updated documentation to specify that '0' should be specified if
one does not need to automatically assign a bound child to a public
or private instance member (now that negative values are private
structure offsets).
Ryan Lortie [Thu, 26 Sep 2013 17:37:46 +0000 (13:37 -0400)]
GtkTreeViewColumn: start padding at 0
If we start with a padding of -1 then it can leak out of the size
allocation request for the column when the treeview is empty. The
GtkTreeView will then collect these -1 values and add them together,
returning -n where 'n' is the number of columns.
This is usually not a problem because treeviews tend to be used with a
scrollbar and the width of the scrollbar will be added to this number
bringing it into positive territory again. On Ubuntu, with overlay
scrollbars, this is not the case, however.
https://bugzilla.gnome.org/show_bug.cgi?id=703062
Hannie Dumoleyn [Mon, 30 Sep 2013 09:52:21 +0000 (11:52 +0200)]
Update Dutch translation 3.10
Matthias Clasen [Mon, 30 Sep 2013 01:59:22 +0000 (21:59 -0400)]
Revert "shooter: Use the reftests code for taking screenshots"
This reverts commit
5c926ca6bb1259d5ad152dda13e43b2a8536150f.
This commit just dropped the nice shadow that we used to have
around these shots, without a justification.
Matthias Clasen [Mon, 30 Sep 2013 01:59:05 +0000 (21:59 -0400)]
Revert "shooter: Make sure to free the surface"
This reverts commit
1a0c5acb26bee3df52b75cf34b95c4d93810f3b7.
Matej Urbančič [Sun, 29 Sep 2013 11:26:55 +0000 (13:26 +0200)]
Updated Slovenian translation
Behdad Esfahbod [Sat, 28 Sep 2013 18:14:31 +0000 (14:14 -0400)]
Bug 467720 - Useless use of const qualifier
John Ralls [Sat, 28 Sep 2013 17:55:22 +0000 (10:55 -0700)]
Bug 651224 - Potential NULL display ptr from quartz gtk_clipboard_wait_for_contents
John Ralls [Sun, 16 Jun 2013 16:51:04 +0000 (12:51 -0400)]
Clarify Cursor Theme GDK Warning
Matthias Clasen [Sat, 28 Sep 2013 02:00:38 +0000 (22:00 -0400)]
More formatting style adjustments
Lose a whole bunch of unnecessary 'real', shortening
excessively long function names.
Matthias Clasen [Sat, 28 Sep 2013 01:39:10 +0000 (21:39 -0400)]
Some coding style improvements
Use g_return_if_fail in GTK+ style in all public APIs,
avoid dereferencing variables early, shorten some
function names.
Matthias Clasen [Sat, 28 Sep 2013 00:31:24 +0000 (20:31 -0400)]
Trivial: remove an unused declaration
_gtk_list_box_accessible_update_selected is not used and
does not exist.
Bastien Nocera [Fri, 27 Sep 2013 15:06:01 +0000 (17:06 +0200)]
Fix possible crash in header bar
When the header bar's top-level widget is not a GtkWindow,
don't try to get the inexistant "decoration-button-layout"
property.
Matthias Clasen [Fri, 27 Sep 2013 03:19:29 +0000 (23:19 -0400)]
csd: Avoid jumping windows
The size of the shadow and invisible borders can (and usually
will) change between backdrop and focused windows, while the
overall window size remains unchanged. This causes the visible
window to visually 'jump'. We can avoid this by always reserving
the maximum of the focused and unfocused border sizes. The code
for positioning the input-only windows making up the invisible
border is adjusted to deal with this. We now always place the
invisible border right outside the visible content, even if the
shadow extends out much farther.
https://bugzilla.gnome.org/show_bug.cgi?id=707524
Cosimo Cecchi [Sat, 5 Mar 2011 08:03:45 +0000 (03:03 -0500)]
notebook: render a frame and background in the header
And use the "header" style class to do that.
This allows themes to set e.g. the background of the tab header
differently.
Themes will need slight adjustment to make things appear
as before.
https://bugzilla.gnome.org/show_bug.cgi?id=643914
Cosimo Cecchi [Mon, 5 Aug 2013 09:17:08 +0000 (11:17 +0200)]
Allow active tab children to be styled
This allows one to style the children of an active
tab label from CSS.
https://bugzilla.gnome.org/show_bug.cgi?id=691163
Matthias Clasen [Thu, 26 Sep 2013 23:12:58 +0000 (19:12 -0400)]
Trivial: correct vfunc signatures
Harmless confusion between gint and gboolean
https://bugzilla.gnome.org/show_bug.cgi?id=697031
Lionel Landwerlin [Thu, 13 Jun 2013 15:36:56 +0000 (16:36 +0100)]
GdkWindowX11: Prevent non renderered window to be display by the compositor
When mapping a window for the first time, make sure the compositor
won't display it until we're done painting.
https://bugzilla.gnome.org/show_bug.cgi?id=702196
Sébastien Wilmet [Wed, 12 Jun 2013 11:27:17 +0000 (13:27 +0200)]
GtkTextView: add create_buffer virtual method pointer
This allows subclasses of GtkTextView that require a corresponding
subclass of GtkTextBuffer to automatically do the right thing when
constructed with a NULL buffer. An example of this is GtkSourceView
which requires a GtkSourceBuffer.
https://bugzilla.gnome.org/show_bug.cgi?id=708584
Chun-wei Fan [Thu, 26 Sep 2013 11:50:56 +0000 (19:50 +0800)]
Update Demos Visual Studio Projects
Improve optimization, by re-enabling WholeProgramOptimization but changing
the linker optimization to not drop items that are not referenced in code
(such as compiled gresource sources that are not directly referenced in
code, as they are still needed for the demos to run properly).
Matthias Clasen [Thu, 26 Sep 2013 03:52:39 +0000 (23:52 -0400)]
Fixups to GtkStack
The GtkStack and GtkStackSwitcher code did not really
follow GTK+ conventions for includes. Fix that, and also
fix up a case of gpointer vs gpointer* confusion
in gtkstack.c.
Matthias Clasen [Thu, 26 Sep 2013 03:50:51 +0000 (23:50 -0400)]
Use a stack in GtkAboutDialog
This lets us slide the credits and license sections up and down,
instead of just popping them into existence abruptly.
Matthias Clasen [Sat, 31 Aug 2013 15:59:19 +0000 (11:59 -0400)]
Test new transition types
We should make teststack pick up new transitions automatically.
For now, we have to add them manually.
https://bugzilla.gnome.org/show_bug.cgi?id=707187
Matthias Clasen [Sat, 31 Aug 2013 16:00:47 +0000 (12:00 -0400)]
GtkStack: Add more transition types
This adds new 'over' and 'under' transitions which work by moving
the new page over the previous one, or moving the previous page off
to reveal the new one. We also add an over/under combination that
is going to be used in GtkAboutDialog.
https://bugzilla.gnome.org/show_bug.cgi?id=707187
Matthias Clasen [Thu, 26 Sep 2013 02:51:33 +0000 (22:51 -0400)]
GtkAboutDialog: prevent unintended visibility
Some of the labels were not marked as no-show-all. But the
code clearly tries to manage their visibility, so gtk_widget_show_all()
should not affect them.
https://bugzilla.gnome.org/show_bug.cgi?id=681484
Paolo Borelli [Fri, 30 Aug 2013 20:32:42 +0000 (22:32 +0200)]
Add a needs-attention child property to GtkStack
The child property is watched by the StackSwicther which in turns sets a
needs-attention css class on the corresponding button, so that the theme
can for instance show a throbbing animation if one of the hidden pages
needs the user attention.
https://bugzilla.gnome.org/show_bug.cgi?id=707153
Mario Sanchez Prada [Mon, 16 Sep 2013 15:57:49 +0000 (16:57 +0100)]
a11y: don't shutdown accessibility, so the atk bridge is always valid
This will fix issues in applications that for some reason make
several and not nested calls to gtk_main() during their lifetime,
effectively initializing a11y when the first, top most, main loop
is being run and shutting it down then that loop is quit.
https://bugzilla.gnome.org/show_bug.cgi?id=708024
https://bugzilla.gnome.org/show_bug.cgi?id=684076
Cosimo Cecchi [Thu, 19 Sep 2013 20:35:00 +0000 (13:35 -0700)]
entrycompletion: set the GtkWindow as attached to the GtkEntry
This way themes can easily select that window to apply custom styles.
https://bugzilla.gnome.org/show_bug.cgi?id=708414
Christian Kirbach [Wed, 25 Sep 2013 13:22:06 +0000 (15:22 +0200)]
Updated German translation
Josep Sànchez [Tue, 24 Sep 2013 21:42:11 +0000 (23:42 +0200)]
[l10n] Update Catalan translation
Inaki Larranaga Murgoitio [Tue, 24 Sep 2013 20:11:35 +0000 (22:11 +0200)]
Updated Basque language
Inaki Larranaga Murgoitio [Tue, 24 Sep 2013 15:51:12 +0000 (17:51 +0200)]
Updated Basque language
Benjamin Otte [Tue, 24 Sep 2013 15:43:44 +0000 (17:43 +0200)]
gdkcairo: Actually paint the pixbuf
I accidentally a line before committing
b41787bc788d03aaf3dc3c734bc7e8161c1e713a - whoops.
Benjamin Otte [Tue, 24 Sep 2013 13:53:34 +0000 (15:53 +0200)]
testsuite: Add a test for functions that work without gtk_init()
So far, this is just supposed to be gdk_cairo_set_source_pixbuf().
Note that this is usually not an API guarantee but courtesy to
applications that used these APIs without a gtk_init() call.
https://bugzilla.gnome.org/show_bug.cgi?id=708547
Benjamin Otte [Tue, 24 Sep 2013 14:37:37 +0000 (16:37 +0200)]
gdkcairo: Don't require gtk_init() for set_source_pixbuf()
Instead of using the default display's root window's surface, use the
target surface of the passed in cairo_t to create the similar image from.
https://bugzilla.gnome.org/show_bug.cgi?id=708547
Benjamin Otte [Tue, 24 Sep 2013 14:34:24 +0000 (16:34 +0200)]
gdkcairo: Split out a function
This is in preparation for the next patch.
Chao-Hsiung Liao [Tue, 24 Sep 2013 11:17:12 +0000 (19:17 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Inaki Larranaga Murgoitio [Tue, 24 Sep 2013 07:18:50 +0000 (09:18 +0200)]
Updated Basque language
Matthias Clasen [Mon, 23 Sep 2013 22:55:28 +0000 (18:55 -0400)]
Introduce version macros for 3.12
Matthias Clasen [Mon, 23 Sep 2013 19:08:50 +0000 (15:08 -0400)]
Bump version
3.11 is open for business.
Kenneth Nielsen [Mon, 23 Sep 2013 17:35:20 +0000 (19:35 +0200)]
Updated Danish translation
Yosef Or Boczko [Mon, 23 Sep 2013 14:11:26 +0000 (17:11 +0300)]
Updated Hebrew translation
Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
Milo Casagrande [Mon, 23 Sep 2013 12:56:18 +0000 (14:56 +0200)]
[l10n] Updated Italian translation.
Petr Kovar [Mon, 23 Sep 2013 13:00:29 +0000 (15:00 +0200)]
Update Czech transaltion
Petr Kovar [Mon, 23 Sep 2013 12:26:32 +0000 (14:26 +0200)]
Update Czech translation
Alexander Larsson [Mon, 23 Sep 2013 10:42:30 +0000 (12:42 +0200)]
icon-theme: Better handling of unscaled icon directories
If an icon is in a Fixed or Threshold directory we normally don't
scale it. However, in the case of HiDPI scaling we *do* want to
scale it, to avoid different layouts in Lo/HiDPI. We look up whatever
the size of the icon would have been in LoDPI and scale to that
in the no-scaling case, thus getting the same layout as the
unscaled case.
https://bugzilla.gnome.org/show_bug.cgi?id=708384
Alexander Larsson [Mon, 23 Sep 2013 10:37:36 +0000 (12:37 +0200)]
icon-theme: Make icon_info_new() have some args
This gets rid of a bunch of duplicated code.
Alexander Larsson [Mon, 23 Sep 2013 10:07:30 +0000 (12:07 +0200)]
testicontheme: Add some tests for scales
Chun-wei Fan [Mon, 23 Sep 2013 05:25:49 +0000 (13:25 +0800)]
demos/gtk-demo/toolpalette.c: Avoid C99ism
Avoid declaring variable at the middle of the block
Nilamdyuti Goswami [Mon, 23 Sep 2013 07:55:09 +0000 (13:25 +0530)]
Assamese translation updated
Andika Triwidada [Mon, 23 Sep 2013 02:48:12 +0000 (09:48 +0700)]
Updated Indonesian translation
Peter Mráz [Sun, 22 Sep 2013 20:53:53 +0000 (22:53 +0200)]
Updated slovak translation
Pavol Klačanský [Sun, 22 Sep 2013 14:37:05 +0000 (16:37 +0200)]
Updated slovak translation
Claude Paroz [Sun, 22 Sep 2013 18:04:27 +0000 (20:04 +0200)]
Updated French translation
Aurimas Černius [Sun, 22 Sep 2013 14:40:38 +0000 (17:40 +0300)]
Updated Lithuanian translation
Chun-wei Fan [Sun, 22 Sep 2013 14:10:28 +0000 (22:10 +0800)]
MSVC Builds: "Install" gtklistboxrowaccessible.h
...which is an a11y header introduced in commit
c22e27f9.
Pavol Klačanský [Sun, 22 Sep 2013 13:41:43 +0000 (15:41 +0200)]
Updated slovak translation
Daniel Mustieles [Sun, 22 Sep 2013 10:11:29 +0000 (12:11 +0200)]
Updated Spanish translation
Yosef Or Boczko [Sun, 22 Sep 2013 09:34:32 +0000 (12:34 +0300)]
Updated Hebrew properties translation
Yosef Or Boczko [Sun, 22 Sep 2013 09:31:01 +0000 (12:31 +0300)]
Updated Hebrew translation
Matthias Clasen [Sun, 22 Sep 2013 03:37:48 +0000 (23:37 -0400)]
Improve struct packing in various places
Matthias Clasen [Sun, 22 Sep 2013 03:36:05 +0000 (23:36 -0400)]
Remove priv pointer from GtkStackSwitcher
This is a new widget, so lets avoid the unnecessary
priv pointer while we still can.
Matthias Clasen [Sun, 22 Sep 2013 03:35:02 +0000 (23:35 -0400)]
Improve struct packing in GdkWindowImplWayland
Duarte Loreto [Sun, 22 Sep 2013 01:50:58 +0000 (02:50 +0100)]
Updated Portuguese translation
Duarte Loreto [Sun, 22 Sep 2013 01:29:51 +0000 (02:29 +0100)]
Updated Portuguese translation
Matthias Clasen [Sun, 22 Sep 2013 00:56:46 +0000 (20:56 -0400)]
Small cleanup for the previous commit
When setting an accessible type, we don't need to
set an accessible row anymore.
Matthias Clasen [Sun, 22 Sep 2013 00:49:18 +0000 (20:49 -0400)]
Add a GtkListBoxRow accessible
This lets us do two things:
1. Set the list-item role
2. Set selectable and selected states as appropriate
https://bugzilla.gnome.org/show_bug.cgi?id=692258
Matthias Clasen [Sun, 22 Sep 2013 00:29:09 +0000 (20:29 -0400)]
Small improvement to GtkLinkButton a11y
ATK has a visited state, so propagate the visited property
of GtkLinkButton to that state.
Rūdolfs Mazurs [Sat, 21 Sep 2013 18:51:20 +0000 (21:51 +0300)]
Updated Latvian translatio
Matej Urbančič [Sat, 21 Sep 2013 18:27:52 +0000 (20:27 +0200)]
Updated Slovenian translation
Baurzhan Muftakhidinov [Sat, 21 Sep 2013 10:36:08 +0000 (16:36 +0600)]
Update Kazakh translation
Federico Mena Quintero [Sat, 21 Sep 2013 02:13:31 +0000 (21:13 -0500)]
places sidebar: Don't activate the bookmark if Eject was clicked
This should really fix https://bugzilla.gnome.org/show_bug.cgi?id=704087 ...
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Matthias Clasen [Sat, 21 Sep 2013 00:16:00 +0000 (20:16 -0400)]
Trivial typo fix
Enrico Nicoletto [Sat, 21 Sep 2013 01:33:15 +0000 (22:33 -0300)]
Updated Brazilian Portuguese translation
Fran Diéguez [Fri, 20 Sep 2013 22:00:18 +0000 (00:00 +0200)]
Updated Galician translations
Piotr Drąg [Fri, 20 Sep 2013 19:06:57 +0000 (21:06 +0200)]
Updated Polish translation
Matthias Clasen [Fri, 20 Sep 2013 19:01:24 +0000 (15:01 -0400)]
Add accessible names to csd buttons
Its the right thing to do.
GunChleoc [Fri, 20 Sep 2013 18:14:50 +0000 (12:14 -0600)]
Updated Scottish Gaelic translation
GunChleoc [Fri, 20 Sep 2013 18:02:48 +0000 (12:02 -0600)]
Updated Scottish Gaelic translation
Florian Müllner [Tue, 17 Sep 2013 20:37:06 +0000 (22:37 +0200)]
icontheme: Make sure icon_info->scale doesn't end up 0
GdkPixbuf will fail returning %NULL if we try to scale a pixbuf to (0, 0),
which will then trigger an assertion in gtk_icon_info_load_icon_finish();
we never want a scale of 0, so ensure it is at least 1.
https://bugzilla.gnome.org/show_bug.cgi?id=708384
Nilamdyuti Goswami [Fri, 20 Sep 2013 12:43:49 +0000 (18:13 +0530)]
Assamese translation updated